package com.mxpio.erp.common.asset.service;

import com.mxpio.erp.common.asset.entity.BorrowApply;
import com.mxpio.erp.common.enums.OrderStatusEnums.BpmnStatus;
import com.mxpio.erp.common.enums.OrderStatusEnums.CloseStatus;
import com.mxpio.erp.common.vo.OrderExcuteVo;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;

public interface BorrowApplyService extends BaseService<BorrowApply>{

	Result<BorrowApply> updateCloseStatus(String bizNo, CloseStatus closeStatus);

	Result<BorrowApply> updateBpmnStatus(String bizNo, BpmnStatus bpmnStatus);

	Result<BorrowApply> execute(String bizNo, String applyType, OrderExcuteVo orderExcuteVo);

}
